package com.nmdl.print;

import android.app.Application;

import com.hprt.lib.mt800.HPRTPrinterHelper;
import com.nmdl.print.utils.KLog;

public class MyApplication extends Application {
    private static MyApplication instance;
    private boolean ConnectRes = false;

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        String code="UJE+lt9zrR1o1IfxJyu085iK26IlMnn+HyGfXVbZCeOwx75IaRoJU4CsmzVms8Xlw/uPo1cM+3exfZXCydPTkTZx6VW95Chp2AmLCf0Aq0pBVQpb3tEs/TkVHQbRBCdJMEJiyKv8JufnBe1XO0Jjfmrmz10+Z7AtZW8qYq/WRBk=";
//        HPRTPrinterHelper.INSTANCE.init(this);
        HPRTPrinterHelper.INSTANCE.init(this,code);
    }

    public static MyApplication getInstance() {
        return instance;
    }

    public boolean isConnectRes() {
        return ConnectRes;
    }

    public void setConnectRes(boolean connectRes) {
        ConnectRes = connectRes;
    }
}
